import React from 'react'
import ReactDOM from 'react-dom/client'

import { Provider } from './react-redux'
import store from './store'

// 类组件
import Counter1 from './components/Counter1'
import Counter2 from './components/Counter2'

const root = ReactDOM.createRoot(document.getElementById('root'))

root.render(
  <Provider store={store}>
    <div>
      <Counter1 />
      <Counter2 />
    </div>
  </Provider>
)
